<?php
declare(strict_types=1);
namespace cms\fkw\admin\mvc_controller;

use Hyperf\HttpServer\Annotation\AutoController;
use Psr\Http\Message\ResponseInterface;

/**
 * Class AppController
 * @package cms\fkw\admin\mvc_controller
 * @AutoController(prefix="mvc/fkw/admin_app")
 */
class AppController extends CommonController
{
    /**
     * @return ResponseInterface
     */
    public function retrieve(): ResponseInterface
    {
        return $this->template();
    }

    /**
     * @return ResponseInterface
     */
    public function create(): ResponseInterface
    {
        return $this->template([], 'form');
    }
}